import java.util.Scanner;
public class years
{
	public static void main (String[] args)
	{
		int num1;
		Scanner in = new Scanner(System.in);
		System.out.print ("Your year:");
		num1 = in.nextInt();
		if (num1 >= 1582)
		if (num1%4 == 0)
			if (num1%100 == 0)
				if (num1%400 == 0)
					System.out.println ( "It's  a Leap Year");
				else
					System.out.println ( "In's not a Leap Year");
			else
				System.out.println ("It's a Leap Year");
		else
			System.out.println ("It's  not a Leap Year");
		else
			System.out.println ("Wrong message");
	}
}

		




		
	


